home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Bank smakow
/
BankSmakow.air
/
BankSmakow.swf
/
scripts
/
_CheckBoxStyle.as
< prev
next >
Wrap
Text File
|
2009-12-16
|
2KB
|
59 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.skins.halo.CheckBoxIcon;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _CheckBoxStyle
{
public function _CheckBoxStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("CheckBox");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("CheckBox",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.skin = null;
this.paddingLeft = 0;
this.selectedDisabledIcon = null;
this.fontWeight = "normal";
this.selectedOverIcon = null;
this.upSkin = null;
this.overIcon = null;
this.iconColor = 2831164;
this.overSkin = null;
this.selectedDisabledSkin = null;
this.selectedDownIcon = null;
this.disabledIcon = null;
this.textAlign = "left";
this.selectedDownSkin = null;
this.selectedUpSkin = null;
this.paddingRight = 0;
this.selectedOverSkin = null;
this.upIcon = null;
this.icon = CheckBoxIcon;
this.downSkin = null;
this.horizontalGap = 5;
this.selectedUpIcon = null;
this.disabledSkin = null;
this.downIcon = null;
};
}
}
}
}